package day01;

public class BankAccountTest {
    public static void main(String[] args) {
        // 创建银行账户对象
        BankAccount account = new BankAccount();
        // 设置账户信息
        account.setAccountId("10001");
        account.setName("张三");
        account.setIdCard("420106199001011234");
        account.setPhone("17330605282");
        account.setEmail("2383886286@qq.com");

        // 获取并打印账户信息
        System.out.println("账户ID：" + account.getAccountId());
        System.out.println("户主姓名：" + account.getName());
        System.out.println("身份证号：" + account.getIdCard());
        System.out.println("联系电话：" + account.getPhone());
        System.out.println("邮箱地址：" + account.getEmail());
    }
}
